package com.biscuit.page.basicservice.model.entities.mongo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author mazihao
 * @createTime 2024/4/13 13:39
 */
@Data
@Document(collection = "default_collection")
public class DefaultCollection extends BaseEntity {

    @Field(value = "title")
    private String title;

    @Field(value = "url")
    private String url;

    @Field(value = "icon_url")
    private String iconUrl;

    @Field(value = "icon_alias")
    private String iconAlias;

    @Field(value = "ordered")
    private Integer ordered;

}
